Background

class Background(val bg: Identifier, val border: Int, val height: Int, val width: Int)

A container for a custom background nine-slice

Parameters

bg

Identifier - the texture for the background

border

Int - the nine-slice border size. Only supports nine-slices with even borders LR and UD

height

Int - texture height

width

Int - texture width

Constructors

Link copied to clipboard
constructor(bg: Identifier, border: Int, height: Int, width: Int)

Properties

Link copied to clipboard
val bg: Identifier
Link copied to clipboard
val border: Int
Link copied to clipboard
val height: Int
Link copied to clipboard
val width: Int